<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:111:"/mnt/client2023/d-crmqing.bigchun.com/fastcrm/public/../application/admin/view/facrm/analysis/admin/record.html";i:1676906865;s:88:"/mnt/client2023/d-crmqing.bigchun.com/fastcrm/application/admin/view/layout/default.html";i:1676906865;s:85:"/mnt/client2023/d-crmqing.bigchun.com/fastcrm/application/admin/view/common/meta.html";i:1676906865;s:87:"/mnt/client2023/d-crmqing.bigchun.com/fastcrm/application/admin/view/common/script.html";i:1676906865;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">
<meta name="robots" content="noindex, nofollow">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<?php if(\think\Config::get('fastadmin.adminskin')): ?>
<link href="/assets/css/skins/<?php echo \think\Config::get('fastadmin.adminskin'); ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
<?php endif; ?>

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config); ?>
    };
</script>

    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <?php if($auth->check('dashboard')): ?>
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                    <?php endif; ?>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <?php echo build_heading(null,FALSE); ?>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="<?php echo __('Refresh'); ?>" ><i class="fa fa-refresh"></i> </a>
                    </div>


                    <div class="row" style="margin-top:10px;">
                        <div class="col-lg-12" >
                            <h4>跟进趋势</h4>
                            <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

                                <div class="fixed-table-toolbar margin-bottom-xs" >
                                    <div  class="form-inline bs-bars ">
                                        <input id="c-owner_user_id"  data-source="facrm/common/selectpage?model=admin" data-field="nickname"
                                               class="form-control selectpage" name="row[owner_user_id]" type="text" value="" placeholder="选择用户">
                                        <a href="javascript:;" class="btn btn-success btn-filter"><?php echo __('Last 7 Days'); ?></a>
                                        <a href="javascript:;" class="btn btn-success btn-filter"><?php echo __('Last 30 Days'); ?></a>
                                        <a href="javascript:;" class="btn btn-success btn-filter"><?php echo __('Last month'); ?></a>
                                        <a href="javascript:;" class="btn btn-success btn-filter"><?php echo __('This month'); ?></a>

                                        <div class="input-group">
                                            <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                            <input type="text" class="form-control input-inline datetimerange datetimerange1"  placeholder="指定日期" style="width:270px;"
                                                   data-type="order" data-url="<?php echo url('facrm/analysis.admin/record',['ajax'=>1]); ?>" />
                                        </div>
                                    </div>
                                </div>
                                <div id="order-echart" class="btn-refresh" style="height:200px;width:100%;"></div>
                            </form>

                        </div>
                    </div>

                    <div class="row" style="margin-top:15px;">
                        <div class="col-lg-12" >
                            <h4>跟进方式</h4>
                            <form  class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
                                <div class="fixed-table-toolbar margin-bottom-xs" >
                                    <div  class="form-inline bs-bars ">
                                        <input   data-source="facrm/common/selectpage?model=admin" data-field="nickname"
                                               class="form-control selectpage owner_user_id"  type="text" value="" placeholder="选择用户">
                                        <a href="javascript:;" class="btn btn-success btn-record_type"><?php echo __('Last 7 Days'); ?></a>
                                        <a href="javascript:;" class="btn btn-success btn-record_type "><?php echo __('Last 30 Days'); ?></a>
                                        <a href="javascript:;" class="btn btn-success btn-record_type"><?php echo __('Last month'); ?></a>
                                        <a href="javascript:;" class="btn btn-success btn-record_type"><?php echo __('This month'); ?></a>

                                        <div class="input-group">
                                            <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                            <input type="text" class="form-control input-inline datetimerange datetimerange_type"  placeholder="指定日期" style="width:270px;"
                                                   data-type="record_type" data-url="<?php echo url('facrm/analysis.admin/record',['ajax'=>2]); ?>" />
                                        </div>
                                    </div>
                                </div>
                                <div id="record_type"  style="height:200px;width:100%;"></div>
                            </form>


                        </div>
                    </div>

                    <div class="row" style="margin-top:15px;">
                        <div class="col-lg-12" >
                        <h4>跟进详细分析</h4>
                        <table id="table" class="table table-striped table-bordered table-hover"
                               width="100%">
                        </table>
                        </div>



                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<script>
    var Echartdata = <?php echo json_encode($erchart); ?>;
</script>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
    </body>
</html>
